home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The School House•
/
QuizMaster v.10 •••
/
QuizMaster V1.0
/
QuizMaster V1.0.rsrc
/
CODE_10252_Alert.txt
< prev
next >
Wrap
Text File
|
1988-10-21
|
6KB
|
109 lines
# near model CODE resource
# this CODE claims to have no jump table entries (but starts at 0008)
00000000 4E56 FFEC link A6, -0x0014
00000004 41EE FFF0 lea.l A0, [A6 - 0x10]
00000008 20FC 0000 0000 move.l [A0]+, 0x0
0000000E 20FC 0000 0000 move.l [A0]+, 0x0
00000014 20FC 0000 0000 move.l [A0]+, 0x0
0000001A 20FC 0000 0000 move.l [A0]+, 0x0
00000020 49EE FFF0 lea.l A4, [A6 - 0x10]
00000024 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00000028 0C00 0003 cmpi.b D0, 0x3
0000002C 6600 00D2 bne +0xD4 /* 00000100 */
00000030 3A12 move.w D5, [A2]
00000032 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00000036 0C00 0003 cmpi.b D0, 0x3
0000003A 6600 00C4 bne +0xC6 /* 00000100 */
0000003E 3C12 move.w D6, [A2]
00000040 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00000044 0C00 0003 cmpi.b D0, 0x3
00000048 6600 00B6 bne +0xB8 /* 00000100 */
0000004C 3612 move.w D3, [A2]
0000004E 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00000052 0C40 0003 cmpi.w D0, 0x3
00000056 6600 00A8 bne +0xAA /* 00000100 */
0000005A 2D4A FFEC move.l [A6 - 0x14], A2
0000005E 7800 moveq.l D4, 0x00
label00000060:
00000060 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00000064 0C00 0000 cmpi.b D0, 0x0
00000068 6700 0042 beq +0x44 /* 000000AC */
0000006C 0C00 0002 cmpi.b D0, 0x2
00000070 6600 008E bne +0x90 /* 00000100 */
00000074 5244 addq.w D4, 1
00000076 0C44 0005 cmpi.w D4, 0x5
0000007A 6700 0092 beq +0x94 /* 0000010E */
0000007E 264A movea.l A3, A2
00000080 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00000084 7000 moveq.l D0, 0x00
00000086 3002 move.w D0, D2
00000088 5240 addq.w D0, 1
0000008A 0800 0000 btst.b D0, 0x0
0000008E 6702 beq +0x4 /* 00000092 */
00000090 5240 addq.w D0, 1
label00000092:
00000092 9FC0 sub.l A7, D0
00000094 28CF move.l [A4]+, A7
00000096 224F movea.l A1, A7
00000098 1E82 move.b [A7], D2
0000009A 5289 addq.l A1, 1
0000009C 204B movea.l A0, A3
0000009E 7000 moveq.l D0, 0x00
000000A0 3002 move.w D0, D2
000000A2 A02E syscall BlockMove/BlockMoveData
000000A4 264A movea.l A3, A2
000000A6 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
000000AA 60B4 bra -0x4A /* 00000060 */
label000000AC:
000000AC 3F05 move.w -[A7], D5
000000AE 3A38 0A5A move.w D5, [0x00000A5A /* CurMap */]
000000B2 A998 syscall UseResFile
000000B4 4A44 tst.w D4
000000B6 670E beq +0x10 /* 000000C6 */
000000B8 41EE FFF0 lea.l A0, [A6 - 0x10]
000000BC 7003 moveq.l D0, 0x03
label000000BE:
000000BE 2F18 move.l -[A7], [A0]+
000000C0 51C8 FFFC dbf D0, -0x6 /* 000000BE */
000000C4 A98B syscall ParamText
label000000C6:
000000C6 4267 clr.w -[A7]
000000C8 3F03 move.w -[A7], D3
000000CA 42A7 clr.l -[A7]
000000CC 4A46 tst.w D6
000000CE 6712 beq +0x14 /* 000000E2 */
000000D0 0C46 0001 cmpi.w D6, 0x1
000000D4 671E beq +0x20 /* 000000F4 */
000000D6 0C46 0002 cmpi.w D6, 0x2
000000DA 671C beq +0x1E /* 000000F8 */
000000DC 0C46 0003 cmpi.w D6, 0x3
000000E0 671A beq +0x1C /* 000000FC */
label000000E2:
000000E2 A985 syscall Alert
label000000E4:
000000E4 206E FFEC movea.l A0, [A6 - 0x14]
000000E8 309F move.w [A0], [A7]+
000000EA 3F05 move.w -[A7], D5
000000EC A998 syscall UseResFile
000000EE 4E5E unlink A6
000000F0 7000 moveq.l D0, 0x00
000000F2 4E75 rts
label000000F4:
000000F4 A987 syscall NoteAlert
000000F6 60EC bra -0x12 /* 000000E4 */
label000000F8:
000000F8 A988 syscall CautionAlert
000000FA 60E8 bra -0x16 /* 000000E4 */
label000000FC:
000000FC A986 syscall StopAlert
000000FE 60E4 bra -0x1A /* 000000E4 */
label00000100:
00000100 243C 0000 000D move.l D2, 0xD /* '\r' */
label00000106:
00000106 7000 moveq.l D0, 0x00
00000108 4E5E unlink A6
0000010A 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
label0000010E:
0000010E 243C 0000 0025 move.l D2, 0x25 /* '%' */
00000114 60F0 bra -0xE /* 00000106 */